C++ Reactive Programming: Design concurrent and asynchronous applications using the RxCpp library and Modern C++17 by Peter Abraham & Praseed Pai
Author:Peter Abraham & Praseed Pai [Abraham, Peter]
Language: eng
Format: epub
Tags: COM048000 - COMPUTERS / Systems Architecture / Distributed Systems and Computing, COM051000 - COMPUTERS / Programming / General, COM051070 - COMPUTERS / Programming Languages / C++
Publisher: Packt Publishing
Published: 2018-06-28T23:00:00+00:00
Knuth's solution was a ten-page Pascal program! Doug McIlroy realized the same with just the following shell script:
tr -cs A-Za-z ' n ' | tr A-Z a-z | sor t | uniq -c | sor t -rn | sed ${1}q
So much for the power of command composition.
Advantages of the Stream programming model
Traditional OOP programs model hierarchies well, and processing hierarchies is mostly a difficult process compared to processing a linear collection. In the case of the Stream programming model, we can treat the input as a stream of entities put into a container and the output as a bag of entities, without modifying the input data stream. Using C++ generic programming techniques, we can write container-agnostic code to process streams. Some advantages of this model are:
Stream programming simplifies program logic
Streams can support lazy evaluation and functional style transforms
Streams are better suited for the concurrent programming model (Source Streams are immutable)
We can compose functions to create higher-order functions to process them
Streams facilitate the declarative programming model
They can aggregate, filter, and transform data from different sources
They decouple data sources and the entities that process them
They improve code readability (developers can comprehend code faster)
They can exploit data parallelism and task parallelism
We can leverage hundreds of well-defined Stream operators (algorithms) to process data
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
The Mikado Method by Ola Ellnestam Daniel Brolund(27095)
Hello! Python by Anthony Briggs(25950)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(25286)
Kotlin in Action by Dmitry Jemerov(24396)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(23591)
Dependency Injection in .NET by Mark Seemann(23313)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(21945)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(20849)
Grails in Action by Glen Smith Peter Ledbrook(19869)
Adobe Camera Raw For Digital Photographers Only by Rob Sheppard(17073)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(16833)
Secrets of the JavaScript Ninja by John Resig & Bear Bibeault(14464)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(12584)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(11865)
A Developer's Guide to Building Resilient Cloud Applications with Azure by Hamida Rebai Trabelsi(10650)
Hit Refresh by Satya Nadella(9239)
The Kubernetes Operator Framework Book by Michael Dame(8588)
Exploring Deepfakes by Bryan Lyon and Matt Tora(8446)
Robo-Advisor with Python by Aki Ranin(8390)